Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do the same checks in codecs than in codec_choose #42

Merged
merged 1 commit into from
Sep 13, 2017

Conversation

mayeut
Copy link
Contributor

@mayeut mayeut commented Aug 31, 2017

MSVC compiler does not define those __SIMD__ (e.g. __AVX__) predefined macros.

Conditional code is now only dependent on config.h values in all codec.c files except for NEON which also includes the same checks as in codec_choose.c.

This fixes mayeut/pybase64#8 and probably #40

Conditional code is now only dependent on config.h values in codecs
except for NEON which also includes the same checks as in codec_choose.
This fixes mayeut/pybase64#8 and probably aklomp#40
@aklomp aklomp merged commit e516d76 into aklomp:master Sep 13, 2017
@aklomp
Copy link
Owner

aklomp commented Sep 13, 2017

Merged, thanks. Personally I liked the idea of trusting the compiler's builtin platform vars over the stuff that the user puts on the commandline, but I can see how it fails to be portable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pybase64 returns invalid results on Windows
2 participants